package soar.template.springboot.service.rmi.hello;

import java.io.Serializable;

@SuppressWarnings("serial")
public class RmiResponse implements Serializable
{
    private int error = 9999;
    private String errmsg = "未知错误";

    public RmiResponse(int error, String errmsg)
    {
        super();
        this.error = error;
        this.errmsg = errmsg;
    }

    public int getError()
    {
        return error;
    }

    public void setError(int error)
    {
        this.error = error;
    }

    public String getErrmsg()
    {
        return errmsg;
    }

    public void setErrmsg(String errmsg)
    {
        this.errmsg = errmsg;
    }

}